#ifndef FILEUNIT_H
#define FILEUNIT_H

#include <QObject>
#include <QFile>
#include <QDebug>
#include <QFileInfo>

class FileUnit : public QObject
{
    Q_OBJECT
public:
    explicit FileUnit(QObject *parent = nullptr);

    void setFilePath(QString path);
    QByteArray readBin(QString path);
    bool fileExists(QString path);
signals:

public slots:

private:
    QString filePath;
};

#endif // FILEUNIT_H
